Resolve Nginx redirecting free domains to the default gateway by verifying DNS propagation and ensuring the server_name directive matches the domain.